projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8450690
)
(update_line): Avoid indexing into obody by -1.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 10 Nov 1995 06:38:23 +0000
(06:38 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 10 Nov 1995 06:38:23 +0000
(06:38 +0000)
src/dispnew.c
patch
|
blob
|
history
diff --git
a/src/dispnew.c
b/src/dispnew.c
index dbedca2a8179a72c6d2addecd9f6617c7443e450..35fba210be5b4a641378510047938a7bf4228af6 100644
(file)
--- a/
src/dispnew.c
+++ b/
src/dispnew.c
@@
-1613,7
+1613,7
@@
update_line (frame, vpos)
if (! current_frame->highlight[vpos])
{
if (!must_write_spaces)
- while (o
body[olen - 1] == SPACEGLYPH && olen > 0
)
+ while (o
len > 0 && obody[olen - 1] == SPACEGLYPH
)
olen--;
}
else